package com.ruoyi.squadweb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务器列表信息对象 squadjs_service_list
 *
 * @author LJY
 * @date 2023-10-19
 */
public class SquadjsServiceList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 服务器ip */
    @Excel(name = "服务器ip")
    private String ip;

    /** 端口号 */
    @Excel(name = "端口号")
    private String port;

    /** 服务器名字 */
    @Excel(name = "服务器名字")
    private String name;
    /** 服务器名字 */
    @Excel(name = "密码")
    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public String getIp()
    {
        return ip;
    }
    public void setPort(String port)
    {
        this.port = port;
    }

    public String getPort()
    {
        return port;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ip", getIp())
            .append("port", getPort())
            .append("name", getName())
            .toString();
    }
}
